<tpl> include file='sys_config.head.html' </tpl>
<div id="doc3">
	<div id="yui-main">
		<div class="yui-g">
 			<div id="divinbox">
				<div class="gtlbar">
					<div class="gtlbar-left">预立项管理 &gt;&gt; 预立项列表</div>
				</div>
				
			</div>
			<form action="project_official.manage.php" id="form_del" name="form_del" method="post" onsubmit="return confirm_alert('确定要删除吗？');">
			<input type="hidden" name="action" id="action" value="del" />
			<div class="fixbgwhite">
				<table class="es" id="bianse">
					<tr class="es-tr">
						<td class="es-6">选择</td>
						<td class="es-4">项目名称</td>
						<td class="es-2">客户</td>
						<td class="es-2">客户联系人</td>
						<td class="es-2">比稿预计期限</td>
						<td class="es-2">审批阶段</td>
						<td class="es-2">审核状态</td>
						<td class="es-2">我的角色</td>
						<td class="es-3">我的任务</td>
					</tr>
					<tpl> if $project_array[0].id neq '' </tpl>
					<tpl> section name=loop loop=$project_array </tpl>
					<tr class="es-td">
						<td id="check-1"><input name="id[]" type="checkbox" value="<tpl> $project_array[loop].id </tpl>"/></td>
						<td><a href="project_official.manage.php?action=view&id=<tpl> $project_array[loop].id </tpl>&curpage=<tpl> $curpage </tpl>"><tpl> $project_array[loop].project_name </tpl></a></td>
						<td><tpl> $project_array[loop].company_name </tpl></td>
						<td><tpl> $project_array[loop].customer_name </tpl></td>
						<td><tpl> $project_array[loop].draft_date </tpl></td>
						<td><tpl> $project_array[loop].flow_name </tpl></td>
						<td><tpl> $project_array[loop].verify_status </tpl></td>
						<td><tpl> $group_name </tpl></td>
						<td>
							<a href="project_official.manage.php?action=view&id=<tpl> $project_array[loop].id </tpl>&curpage=<tpl> $curpage </tpl>">查看</a>
							<tpl> if ($project_array[loop].is_submit eq 0) and ($user_id eq $project_array[loop].user_id) </tpl>
								<tpl> if $project_array[loop].project_step eq 3 </tpl>
									&nbsp;&nbsp;<a href="distribute_member.manage.php?action=make_cost&id=<tpl> $project_array[loop].id </tpl>&curpage=<tpl> $curpage </tpl>">提交人员成本表</a>
								<tpl> elseif $project_array[loop].project_step eq 4 </tpl>
									&nbsp;&nbsp;<a href="distribute_member.manage.php?action=caiwu&id=<tpl> $project_array[loop].id </tpl>&curpage=<tpl> $curpage </tpl>">提交财务计划表</a>
								<tpl> elseif $project_array[loop].project_step eq 5 </tpl>
									&nbsp;&nbsp;<a href="distribute_member.manage.php?action=zonghe&id=<tpl> $project_array[loop].id </tpl>&curpage=<tpl> $curpage </tpl>">提交综合评估表</a>
								<tpl> elseif $project_array[loop].project_step eq 6 </tpl>
									&nbsp;&nbsp;<a href="distribute_member.manage.php?action=submit&id=<tpl> $project_array[loop].id </tpl>&curpage=<tpl> $curpage </tpl>">提交正式立项申请单</a>
								<tpl> else </tpl>
									&nbsp;&nbsp;<a href="distribute_member.manage.php?action=add&id=<tpl> $project_array[loop].id </tpl>&curpage=<tpl> $curpage </tpl>">提交分配人员表</a>
								<tpl> /if </tpl>
							<tpl> /if </tpl>
							<tpl> if $project_array[loop].nextflow_id neq 0 </tpl>
							&nbsp;&nbsp;<a href="project_official.manage.php?action=verify&id=<tpl> $project_array[loop].id </tpl>&curpage=<tpl> $curpage </tpl>">审批</a>
							<tpl> /if </tpl>
						</td>
					</tr>
					<tpl> /section </tpl>
					<tpl> /if </tpl>
				</table>
			</div>
			</form>
			
			<tpl> if $project_array[0].id eq '' </tpl>
				<div class="msk-wi">
					<div class="msk">暂无相关信息</div>
				</div>
			<tpl> /if </tpl>
			<div class="ibxbot">
				<div class="fle">
					<b>选择:</b>
					<a href="javascript:;" onclick="sel_all_checkbox('form_del');">全选</a> - <a href="javascript:;" onclick="sel_negative_checkbox('form_del');">反选</a> - <a href="javascript:;" onclick="sel_none_checkbox('form_del');">不选</a>
				</div>
				<div class="fri">
					<tpl> if $project_array[0].id neq '' </tpl>
					<tpl> $page_list </tpl>
					<tpl> /if </tpl>
				</div>
			</div>
			<div class="ibxbar">
				<input class="bthl" name="" value="删除" type="submit" />
			</div>
		</div>
	</div>
</div>
<tpl> include file='sys_config.js.html' </tpl>
<script type="text/javascript">

</script>
</body>
</html>